const { Schema } = require('../conn/index')

// 后台用户管理集合
module.exports = new Schema({
  username: {
    type: String,
    required: true,
    minlength: 2
  },
  password: {
    type: String,
    required: true,
    minlength: 2
  },
  nickname: String
})